import storage from "@/utils/storage"
export default{
    namespaced: 'users',
    state: {
        userInfo:storage.get('userInfo'),//用户信息

        //编辑的时候 diaglog回显的表格数据
        // currentRow:{}
    },
    getters: {},
    mutations: {
        SET_USERINFO(state,payload){
            state.userInfo = payload
        },
        //修改diaglog回显数据
        // SET_CURRENT_ROW(state,payload){
        //     this.currentRow = {...payload}
        // }
       
    },
    actions: {},
}